package com.qf.data.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2022-07-04 11:10:55
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
public class User extends BaseEntity implements Serializable {
    //用户id
    @TableId(type = IdType.AUTO)
    private Long id;
    //微信的开放id
    private String openId;
    //微信用户的数据加密密钥
    private String sessionKey;
    //微信头像
    private String header;
    //用户昵称
    private String nickName;
    //用户积分
    private Integer score;
}


